home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / doc / uim-common / UIM-SH < prev    next >
Encoding:
Text File  |  2008-02-15  |  1.5 KB  |  62 lines

  1. uim-sh
  2. ======
  3.  
  4. uim provides an interactive shell for debugging, batch processing and
  5. serving as generic inferior process.
  6.  
  7.  
  8. Usage
  9. -----
  10.  
  11. ----------------------------------------------------------------
  12.  uim-sh [options] [file [arg ...]]
  13.   -b
  14.   --batch                 batch mode. suppress shell prompts
  15.   -B
  16.   --strict-batch          strict batch mode, implies -b. suppress shell prompts
  17.                           and evaluated results
  18.   -r <name>
  19.   --require-module <name> require module
  20.   --editline              require editline module for Emacs-like line editing
  21.   -e <expr>
  22.   --expression <expr>     evaluate <expr> (after loading the file, and disables
  23.                           'main' procedure of it)
  24.   -V
  25.   --version               show software version
  26.   -h
  27.   --help                  show this help
  28.   file                    absolute path or relative to system scm directory
  29.   arg ...                 string argument(s) for 'main' procedure of the file
  30. ----------------------------------------------------------------
  31.  
  32.  
  33. Examples
  34. --------
  35.  
  36. ----------------------------------------------------------------
  37.  $ uim-sh
  38.  uim> (car '(foo bar))
  39.  foo
  40.  uim> #f
  41.  ()
  42.  uim> #t
  43.  1
  44.  uim> (not #t)
  45.  ()
  46.  uim> ^D
  47.  $
  48. ----------------------------------------------------------------
  49.  
  50.  
  51. Debugging with Emacs
  52. --------------------
  53.  
  54.  1. Add following form to your .emacs
  55.  
  56.   (setq scheme-program-name "uim-sh")
  57.  
  58.  2. M-x run-scheme
  59.  
  60.  3. You can edit and evaluate any sexps using libuim's Scheme
  61.     interpreter
  62.